package com.bjh.dao;

import org.springframework.stereotype.Repository;

import java.util.List;
import java.util.Map;

@Repository
public interface SystemDao {
    /**
     * 获取同一级菜单
     * @param parentId 上一级菜单id
     * @return {@link List}
     * @throws Exception Exception
     */
    List<Map<String, Object>> getMenus (int parentId) throws Exception;
}
